from src.database.models import Category, Country
from src.database.uow import SQLAlchemyUoW


class CountryService:
    def __init__(self, uow: SQLAlchemyUoW):
        self._uow = uow

    async def get_countries(self) -> list[Country]:
        return await self._uow.country_repo.get_countries()
